Integrand size = 15, antiderivative size = 10 \[ \int \frac {\cot (x)}{\sqrt {a+a \cot ^2(x)}} \, dx=\frac {1}{\sqrt {a \csc ^2(x)}} \]
[Out]
Time = 0.06 (sec) , antiderivative size = 10, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {3738, 4209, 32} \[ \int \frac {\cot (x)}{\sqrt {a+a \cot ^2(x)}} \, dx=\frac {1}{\sqrt {a \csc ^2(x)}} \]
[In]
[Out]
Rule 32
Rule 3738
Rule 4209
Rubi steps \begin{align*} \text {integral}& = \int \frac {\cot (x)}{\sqrt {a \csc ^2(x)}} \, dx \\ & = -\left (\frac {1}{2} a \text {Subst}\left (\int \frac {1}{(a x)^{3/2}} \, dx,x,\csc ^2(x)\right )\right ) \\ & = \frac {1}{\sqrt {a \csc ^2(x)}} \\ \end{align*}
Time = 0.03 (sec) , antiderivative size = 10, normalized size of antiderivative = 1.00 \[ \int \frac {\cot (x)}{\sqrt {a+a \cot ^2(x)}} \, dx=\frac {1}{\sqrt {a \csc ^2(x)}} \]
[In]
[Out]
Time = 0.04 (sec) , antiderivative size = 11, normalized size of antiderivative = 1.10
method | result | size |
derivativedivides | \(\frac {1}{\sqrt {a +a \cot \left (x \right )^{2}}}\) | \(11\) |
default | \(\frac {1}{\sqrt {a +a \cot \left (x \right )^{2}}}\) | \(11\) |
risch | \(\frac {{\mathrm e}^{2 i x}}{2 \sqrt {-\frac {a \,{\mathrm e}^{2 i x}}{\left ({\mathrm e}^{2 i x}-1\right )^{2}}}\, \left ({\mathrm e}^{2 i x}-1\right )}-\frac {1}{2 \left ({\mathrm e}^{2 i x}-1\right ) \sqrt {-\frac {a \,{\mathrm e}^{2 i x}}{\left ({\mathrm e}^{2 i x}-1\right )^{2}}}}\) | \(67\) |
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 27 vs. \(2 (8) = 16\).
Time = 0.27 (sec) , antiderivative size = 27, normalized size of antiderivative = 2.70 \[ \int \frac {\cot (x)}{\sqrt {a+a \cot ^2(x)}} \, dx=-\frac {\sqrt {2} \sqrt {-\frac {a}{\cos \left (2 \, x\right ) - 1}} {\left (\cos \left (2 \, x\right ) - 1\right )}}{2 \, a} \]
[In]
[Out]
Time = 0.54 (sec) , antiderivative size = 12, normalized size of antiderivative = 1.20 \[ \int \frac {\cot (x)}{\sqrt {a+a \cot ^2(x)}} \, dx=\frac {1}{\sqrt {a \cot ^{2}{\left (x \right )} + a}} \]
[In]
[Out]
none
Time = 0.23 (sec) , antiderivative size = 8, normalized size of antiderivative = 0.80 \[ \int \frac {\cot (x)}{\sqrt {a+a \cot ^2(x)}} \, dx=\frac {1}{\sqrt {\frac {a}{\sin \left (x\right )^{2}}}} \]
[In]
[Out]
none
Time = 0.26 (sec) , antiderivative size = 11, normalized size of antiderivative = 1.10 \[ \int \frac {\cot (x)}{\sqrt {a+a \cot ^2(x)}} \, dx=\frac {\sin \left (x\right )}{\sqrt {a} \mathrm {sgn}\left (\sin \left (x\right )\right )} \]
[In]
[Out]
Time = 12.98 (sec) , antiderivative size = 10, normalized size of antiderivative = 1.00 \[ \int \frac {\cot (x)}{\sqrt {a+a \cot ^2(x)}} \, dx=\frac {\sqrt {{\sin \left (x\right )}^2}}{\sqrt {a}} \]
[In]
[Out]